﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdmTestStuManage.aspx.cs"
    Inherits="LMS.SMSH.WEB.AdmTestStuManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head id="Head1" runat="server">
    <title>高校实验室网站后台管理</title>
    <style type="text/css">
        .box-3
        {
            border: 1px solid;
            border-color: #CCCCCC;
        }
    </style>
    <script type="text/javascript" src="jQuery/jquery-1.7.1.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#Reset1").click(function () {
                $("#txtProId").val("");
                $("#txtProName").val("");
                $("#txtProjectDate").val("");
                $("#txtStudentNumber").val("");
                $("#txtContent").val("");
            })
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div align="center">
        <table style="width:700" border="0" cellpadding="0" cellspacing="0;background-color:#CCCCCC">
            <tr>
                <td height="60;background-color:#FFFFFF">
                    &nbsp;&nbsp;<strong>实验项目编辑</strong>
                </td>
            </tr>
            <tr>
                <td>
                    <table style="width:700" border="0" cellspacing="1" cellpadding="0">
                        <tr>
                            <td style="width:200;height:30;text-align:right;background-color:#FFFFFF">
                                <font color="#FF0000" size="2">*&nbsp;</font><font size="2">实验编号</font>
                            </td>
                            <td style="width:500;height:30;background-color:#FFFFFF">
                                &nbsp;<asp:TextBox ID="txtProId" runat="server" CssClass="box-3" style="width:90%" MaxLength="50"></asp:TextBox>
                                <br />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtProId"
                                    Display="Dynamic" ErrorMessage="实验编号不能为空" ForeColor="#AA11FF"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="width:200;height:30;text-align:right;background-color:#FFFFFF">
                                <font size="2"><span style="color: #ff0000">* <font size="2"></font></span>实验名称</font>
                            </td>
                            <td style="width:500; height:30; background-color:#FFFFFF">
                                &nbsp;<asp:TextBox ID="txtProName" runat="server" CssClass="box-3" MaxLength="50"
                                    style="width:90%"></asp:TextBox>
                                <br />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtProName"
                                    Display="Dynamic" ErrorMessage="实验名称不能为空" ForeColor="#AA11FF"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:right;background-color:#ffffff;height:30">
                                <font size="2"><span style="color: #ff0000">* <font size="2"></font></span>实验日期</font>
                            </td>
                            <td bgcolor="#ffffff;height:30">
                                &nbsp;<asp:TextBox ID="txtProjectDate" runat="server" CssClass="box-3" MaxLength="50"
                                    style="width:90%"></asp:TextBox>
                                <br />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtProjectDate"
                                    Display="Dynamic" ErrorMessage="实验日期不能为空" ForeColor="#AA11FF"></asp:RequiredFieldValidator>
                                <asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtProjectDate"
                                    Display="Dynamic" ErrorMessage="实验日期格式必须为2000-1-1这种形式" MaximumValue="3000-1-1"
                                    MinimumValue="1900-1-1" Type="Date" ForeColor="#AA11FF"></asp:RangeValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:right;background-color:#ffffff;height:30">
                                <font size="2"><span style="color: #ff0000">* <font size="2"></font></span>学生总数</font>
                            </td>
                            <td bgcolor="#ffffff;height:30">
                                &nbsp;<asp:TextBox ID="txtStudentNumber" runat="server" CssClass="box-3" MaxLength="50"
                                    style="width:90%"></asp:TextBox>
                                <br />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtStudentNumber"
                                    Display="Dynamic" ErrorMessage="学生总数不能为空" ForeColor="#AA11FF"></asp:RequiredFieldValidator>
                                <asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="txtStudentNumber"
                                    Display="Dynamic" ErrorMessage="学生总数必须为一个数字" MaximumValue="1000000" MinimumValue="0"
                                    Type="Integer" ForeColor="#AA11FF"></asp:RangeValidator>
                            </td>
                        </tr>
                        <%-- <tr>
                           <td align="right;background-color:#ffffff;height:30">
                                <font size="2">相关下载文件</font>
                            </td>
                            <td bgcolor="#ffffff;height:30">
                                &nbsp;<asp:FileUpload ID="FilePath" runat="server" />
                            </td>
                        </tr>--%>
                        <tr>
                            <td style="text-align:right;background-color:#ffffff;height:30">
                                <font size="2">详细说明</font>
                            </td>
                            <td bgcolor="#ffffff;height:30">
                                &nbsp;<asp:TextBox ID="txtContent" runat="server" CssClass="box-3" Rows="15" TextMode="MultiLine"
                                    style="width:90%;height:125px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td height="30" colspan="2;text-align:center;background-color:#FFFFFF">
                                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                                    ShowSummary="False" />
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td height="30" colspan="2;text-align:center;background-color:#FFFFFF">
                                <asp:Button ID="btnOK" runat="server" Text="保存提交" OnClick="btnOK_Click" />&nbsp;
                                <input id="Reset1" type="reset" value="重新填写" />
                                <input id="hidProjectID" type="hidden" runat="server" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
